package com.wq.designer.lessif;

/**
 * @Author: wangqiang20995
 * @Date:2018/10/24
 * @Description:
 * @Resource:
 */
public class FranceService implements Service {
    @Override
    public void execute() {
        System.out.println("support france development");
    }

    @Override
    public boolean condition(Support support) {
        System.out.println("France service support [" + support + "]");
        return "2".equals(support.getCondition());
    }
}
